import request from '../utils/request.js'

const user = {
    // 登录
    login: data => {
        return request({
            url: `/login`,
            method: 'POST',
            data
        })
    }
}

export default user
